<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<jsp:useBean id="usercache" scope="session"
	class="session.cache.UserCache" />
<div><a href="/BookShopWeb/">Home</a> &mdash; <a
	href="/BookShopWeb/page/search.jsp">Search</a> <%
 	if (usercache.isClient()) {
 %> &mdash; <a href="/BookShopWeb/page/cart.jsp">View Cart</a> <%
 	}
 %> <%
 	if (usercache.isAdmin()) {
 %> &mdash; <a href="/BookShopWeb/page/add_book.jsp">Add Book</a> <%
 	}
 %> <%
 	if (!usercache.isAuthenticatede()) {
 %> &mdash; <a href="/BookShopWeb/page/login.jsp">Login</a> &mdash; <a
	href="/BookShopWeb/page/registration.jsp">New Account</a> <%
 	} else {
 %> &mdash; <a href="/BookShopWeb/page/login.jsp?action=logout">Log
Out</a> <%
 	}
 %> <%
 	if (usercache.isClient()) {
 %> &mdash; <a href="/BookShopWeb/page/clientInfo.jsp">Profile
Client</a> <%
 	}
 %>


<hr />
</div>